bool IsBST ( BinTree T )
{
	static int min=-32768;
	if(T==NULL)
	return true;
	IsBST(T->Left);
	if(T->Data>min)
	{
		min=T->Data;
	}
    else
    return false;
	IsBST(T->Right);
}
